<%-- 
    Document   : HalamanMuka
    Created on : Dec 8, 2011, 8:48:11 PM
    Author     : JackOddie
--%>
<%-- 
    Document   : index
    Created on : Nov 13, 2011, 10:39:26 PM
    Author     : JackOddie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@page import="java.util.GregorianCalendar"%>
<%@page import="java.util.Calendar"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>SPPSM Login</title>
        <link rel='stylesheet' id='login-css'  href='login.css' type='text/css' media='all' />
       </head>
    <body class="login">
        
        <div id="login">
        <CENTER>
        <h1>Admin SPPSM LOGIN</h1></CENTER>
        <form name="loginform" id="loginform" METHOD="GET" ACTION="ControllerServlet">
            <p>
                                               
                <%
            if (request.getAttribute("error") != null) {
                %>
                <div id="login_error">LOGIN GAGAL!!! Ulangin donk..!!</div>
                <%
            }
                %>
            </p>
            
            <p>
                <label>Username<br />
                <input TYPE=TEXT NAME="id" id="user_login" class="input" value="" size="20" tabindex="10" /></label>
            </p>
            <p>
                <label>Password<br />
                <input type="password" name="passWd" id="user_pass" class="input" value="" size="20" tabindex="20" /></label>
            </p>
            <p class="submit">
                <input TYPE=SUBMIT VALUE="Login" class="button-primary" tabindex="100" />
                <%Calendar calz = new GregorianCalendar();%>
                <input type="hidden" name="month" value="<%=calz.getTime().getMonth()+1%>" >
                <input type="hidden" name="year" value="<%=calz.getTime().getYear()+1900%>" >
                
            </p>
        </form>
        
        
        
    </body>
</html>

